//
//  LSZCollectTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2017/9/14.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZCollectTableViewCell.h"

@implementation LSZCollectTableViewCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self){
        //标题
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 5,  ScreenWidth/2-10, 20)];
        _titleLabel.font = FONT_15;
        self.timeLabel.textColor = titleColorLSZ;
        [self addSubview:_titleLabel];
        //时间
        self.timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(_titleLabel.right, _titleLabel.top,  ScreenWidth/2-10, _titleLabel.height)];
        _timeLabel.textAlignment = NSTextAlignmentRight;
        _timeLabel.textColor = [UIColor grayColor];
        _timeLabel.font = FONT_14;
        [self addSubview:_timeLabel];
        //内容
        self.contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(_titleLabel.left, _titleLabel.bottom+5,ScreenWidth-2*10,50)];
        self.contentLabel.numberOfLines = 0;
        self.contentLabel.font = FONT_14;
        self.contentLabel.textColor = lightColor;
        [self addSubview:_contentLabel];
    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
